home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / am-main.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-04-19  |  5.5 KB  |  128 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
  4.  
  5. <!DOCTYPE page SYSTEM "chrome://messenger/locale/am-main.dtd" >
  6.  
  7. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.       onload="parent.onPanelLoaded('am-main.xul');">
  9.  
  10.     <stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/>
  11.     <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  12.  
  13.     <script type="application/x-javascript" src="chrome://messenger/content/am-identity-edit.js"/>
  14.     <script type="application/x-javascript" src="chrome://messenger/content/am-main.js"/>
  15.     <script type="application/x-javascript" src="chrome://messenger/content/am-prefs.js"/>
  16.  
  17.     <broadcaster id="broadcaster_attachSignature"/>
  18.  
  19.     <dialogheader id="am-main-title" defaultTitle="&accountTitle.label;"/>
  20.  
  21.     <hbox align="center">
  22.       <label value="&accountName.label;" control="server.prettyName"
  23.              accesskey="&accountName.accesskey;"/>
  24.       <textbox wsm_persist="true" size="30" id="server.prettyName"
  25.                prefstring="mail.server.%serverkey%.name"/>
  26.     </hbox>
  27.     
  28.     <separator class="thin"/>
  29.     
  30.     <groupbox style="width: 20em !important;">
  31.       <caption label="&identityTitle.label;"/>
  32.       <description>&identityDesc.label;</description>
  33.       <separator class="thin"/>
  34.       <grid flex="1">
  35.         <columns>
  36.           <column/>
  37.           <column flex="1"/>
  38.         </columns>
  39.         <rows>
  40.           <row align="center">
  41.             <label value="&name.label;" control="identity.fullName"
  42.                    accesskey="&name.accesskey;"/>
  43.             <textbox wsm_persist="true" id="identity.fullName" size="30"
  44.                      prefstring="mail.identity.%identitykey%.fullName"/>
  45.           </row>
  46.           <row align="center">
  47.             <label value="&email.label;" control="identity.email"
  48.                    accesskey="&email.accesskey;"/>
  49.             <textbox wsm_persist="true" id="identity.email" 
  50.                      prefstring="mail.identity.%identitykey%.useremail" class="uri-element"/>
  51.           </row>
  52.           <row align="center">
  53.             <label value="&replyTo.label;" control="identity.replyTo"
  54.                    accesskey="&replyTo.accesskey;"/>
  55.             <textbox wsm_persist="true" id="identity.replyTo"
  56.                      prefstring="mail.identity.%identitykey%.reply_to" class="uri-element"/>
  57.           </row>
  58.           <row align="center">
  59.             <label value="&organization.label;" control="identity.organization"
  60.                    accesskey="&organization.accesskey;"/>
  61.             <textbox wsm_persist="true" id="identity.organization"
  62.                      prefstring="mail.identity.%identitykey%.organization"/>
  63.           </row>
  64.         </rows>
  65.       </grid>
  66.       
  67.       <separator class="thin"/>
  68.  
  69.       <hbox align="center">
  70.         <checkbox wsm_persist="true" id="identity.attachSignature" label="&signature.label;" flex="1"
  71.                   accesskey="&signature.accesskey;"
  72.                   oncommand="setupSignatureItems();"
  73.                   prefattribute="value"
  74.                   prefstring="mail.identity.%identitykey%.attach_signature"/>
  75.       </hbox>
  76.  
  77.       <hbox align="center" class="indent">
  78.         <textbox wsm_persist="true" id="identity.signature" datatype="nsILocalFile" flex="1" name="identity.signature"
  79.                  observes="broadcaster_attachSignature"
  80.                  prefstring="mail.identity.%identitykey%.sig_file" class="uri-element"/>
  81.         <button class="push" name="browse" label="&choose.label;"
  82.                 accesskey="&choose.accesskey;" 
  83.                 oncommand="selectFile()"
  84.                 observes="broadcaster_attachSignature"
  85.                 wsm_persist="true" id="identity.sigbrowsebutton"
  86.                 prefstring="mail.identity.%identitykey%.sigbrowse.disable"/>
  87.       </hbox>
  88.  
  89.       <hbox align="center">
  90.         <checkbox wsm_persist="true" id="identity.attachVCard" label="&attachVCard.label;" flex="1"
  91.                   accesskey="&attachVCard.accesskey;"
  92.                   prefattribute="value"
  93.                   prefstring="mail.identity.%identitykey%.attach_vcard"/>
  94.         <button class="push" name="editVCard" label="&editVCard.label;"  
  95.                 accesskey="&editVCard.accesskey;"
  96.                 oncommand="editVCard()"/>
  97.         <label hidden="true" wsm_persist="true" id="identity.escapedVCard"
  98.                   pref="true" preftype="string" prefattribute="value"
  99.                   prefstring="mail.identity.%identitykey%.escapedVCard"/>
  100.       </hbox>
  101.  
  102.       <separator class="thin"/>
  103.       <hbox align="center">
  104.         <label value="&smtpName.label;" control="identity.smtpServerKey"
  105.                accesskey="&smtpName.accesskey;"/>
  106.         <menulist wsm_persist="true" id="identity.smtpServerKey" flex="1"
  107.                   pref="true" preftype="string" prefattribute="value"
  108.                   prefstring="mail.identity.%identitykey%.smtpServer">
  109.           <menupopup id="smtpPopup">
  110.             <menuitem value="" label="&smtpDefaultServer.label;" id="useDefaultItem"/>
  111.             <menuseparator/>
  112.             <!-- list will be inserted here -->
  113.           </menupopup>
  114.         </menulist>
  115.       </hbox>
  116.     </groupbox>
  117.  
  118.       <separator class="thin"/>
  119.  
  120.     <hbox align="center">
  121.       <spacer flex="1"/>
  122.       <button label="&manageIdentities.label;" oncommand="manageIdentities(event);"
  123.               accesskey="&manageIdentities.accesskey;"
  124.               wsm_persist="true" id="identity.manageIdentitiesbutton"/>
  125.     </hbox>
  126.  
  127. </page>
  128.